package com.sangmo.fts.common.authority;

import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.Root;

public class EntitySearchContext {
    private Root root;
    private CriteriaBuilder criteriaBuilder;

    public EntitySearchContext(Root root, CriteriaBuilder criteriaBuilder) {
        this.root = root;
        this.criteriaBuilder = criteriaBuilder;
    }

    public Root getRoot() {
        return root;
    }

    public void setRoot(Root root) {
        this.root = root;
    }

    public CriteriaBuilder getCriteriaBuilder() {
        return criteriaBuilder;
    }

    public void setCriteriaBuilder(CriteriaBuilder criteriaBuilder) {
        this.criteriaBuilder = criteriaBuilder;
    }
}
